<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>攻略中心 - 星露谷攻略论坛</title>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: #f9fafb;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* 导航栏样式 */
        .navbar {
            background-color: white;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .navbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 4rem;
            padding: 0 1rem;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
        }

        .navbar-logo {
            height: 2rem;
            width: auto;
        }

        .navbar-title {
            margin-left: 0.5rem;
            font-size: 1.25rem;
            font-weight: bold;
            color: #059669;
        }

        .navbar-nav {
            display: none;
        }

        .nav-link {
            color: #6b7280;
            text-decoration: none;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-bottom: 2px solid transparent;
        }

        .nav-link:hover {
            color: #374151;
            border-bottom-color: #d1d5db;
        }

        .nav-link.active {
            color: #111827;
            border-bottom-color: #059669;
        }

        .login-btn {
            background-color: #059669;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
        }

        .login-btn:hover {
            background-color: #047857;
        }

        /* 主要内容区域 */
        .main-content {
            padding: 2rem 0;
        }

        /* 搜索和分类 */
        .search-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .search-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .search-content {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        .search-box {
            flex: 1;
            max-width: 32rem;
        }

        .search-input {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            font-size: 0.875rem;
        }

        .search-input:focus {
            outline: none;
            border-color: #059669;
            box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
        }

        .search-button {
            position: absolute;
            right: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
        }

        .search-icon {
            width: 1.25rem;
            height: 1.25rem;
            color: #9ca3af;
        }

        .filter-group {
            display: flex;
            gap: 1rem;
        }

        .filter-select {
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            background-color: white;
        }

        .filter-select:focus {
            outline: none;
            border-color: #059669;
            box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
        }

        /* 热门标签 */
        .tags-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .tags-title {
            font-size: 1.125rem;
            font-weight: 500;
            color: #111827;
            margin-bottom: 1rem;
        }

        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
            background-color: #dcfce7;
            color: #166534;
            text-decoration: none;
        }

        .tag:hover {
            background-color: #bbf7d0;
        }

        /* 攻略列表 */
        .guide-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .guide-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }

        .guide-content {
            padding: 1.5rem;
        }

        .guide-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .guide-author {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 9999px;
        }

        .author-info {
            margin-left: 0.75rem;
        }

        .author-name {
            font-size: 0.875rem;
            font-weight: 500;
            color: #111827;
            margin: 0;
        }

        .author-meta {
            display: flex;
            gap: 0.25rem;
            font-size: 0.875rem;
            color: #6b7280;
        }

        .guide-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .guide-stat {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .guide-title {
            display: block;
            margin-top: 1rem;
            font-size: 1.25rem;
            font-weight: 600;
            color: #111827;
            text-decoration: none;
        }

        .guide-excerpt {
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: #6b7280;
        }

        .guide-tags {
            margin-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .guide-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.625rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
            background-color: #dcfce7;
            color: #166534;
        }

        /* 分页 */
        .pagination {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
        }

        .pagination-list {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .pagination-item {
            margin: 0 -1px;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border: 1px solid #d1d5db;
            background-color: white;
            color: #6b7280;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
        }

        .pagination-link:hover {
            background-color: #f9fafb;
        }

        .pagination-link.active {
            background-color: #ecfdf5;
            color: #059669;
        }

        /* 页脚 */
        .footer {
            background-color: white;
            margin-top: 3rem;
            padding: 3rem 0;
        }

        .footer-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.25rem;
        }

        .footer-link {
            color: #6b7280;
            text-decoration: none;
            font-size: 1rem;
            padding: 0.5rem;
        }

        .footer-link:hover {
            color: #374151;
        }

        .footer-copyright {
            margin-top: 2rem;
            text-align: center;
            color: #9ca3af;
            font-size: 1rem;
        }

        /* 响应式设计 */
        @media (min-width: 640px) {
            .navbar-nav {
                display: flex;
                gap: 2rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar">
        <div class="container navbar-content">
            <div class="navbar-brand">
                <img class="navbar-logo" src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="星露谷论坛">
                <span class="navbar-title">星露谷论坛</span>
            </div>
            <div class="navbar-nav">
                <a href="index.html" class="nav-link">首页</a>
                <a href="guides.html" class="nav-link active">攻略中心</a>
                <a href="community.html" class="nav-link">社区讨论</a>
                <a href="wiki.html" class="nav-link">资料库</a>
            </div>
            <button class="login-btn">登录/注册</button>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container main-content">
        <!-- 搜索和分类 -->
        <div class="search-card">
            <div class="search-content">
                <!-- 搜索框 -->
                <div class="search-box">
                    <div class="relative">
                        <input type="text" class="search-input" placeholder="搜索攻略...">
                        <button class="search-button">
                            <svg class="search-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
                            </svg>
                        </button>
                    </div>
                </div>
                <!-- 分类选择 -->
                <div class="filter-group">
                    <select class="filter-select">
                        <option>全部分类</option>
                        <option>新手入门</option>
                        <option>农场经营</option>
                        <option>矿洞探索</option>
                        <option>社交攻略</option>
                        <option>节日活动</option>
                    </select>
                    <select class="filter-select">
                        <option>最新发布</option>
                        <option>最多浏览</option>
                        <option>最多收藏</option>
                        <option>最多评论</option>
                    </select>
                </div>
            </div>
        </div>

        <!-- 热门标签 -->
        <div class="tags-card">
            <h3 class="tags-title">热门标签</h3>
            <div class="tags-list">
                <a href="#" class="tag">新手攻略</a>
                <a href="#" class="tag">农场布局</a>
                <a href="#" class="tag">矿洞技巧</a>
                <a href="#" class="tag">社交攻略</a>
                <a href="#" class="tag">节日活动</a>
                <a href="#" class="tag">赚钱技巧</a>
            </div>
        </div>

        <!-- 攻略列表 -->
        <div class="guide-list">
            <!-- 攻略卡片 1 -->
            <div class="guide-card">
                <div class="guide-content">
                    <div class="guide-header">
                        <div class="guide-author">
                            <img class="author-avatar" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=500&auto=format&fit=crop&q=60" alt="作者头像">
                            <div class="author-info">
                                <p class="author-name">农场主小明</p>
                                <div class="author-meta">
                                    <time datetime="2024-03-20">2024-03-20</time>
                                    <span>•</span>
                                    <span>新手入门</span>
                                </div>
                            </div>
                        </div>
                        <div class="guide-stats">
                            <span class="guide-stat">2.3k 浏览</span>
                            <span class="guide-stat">128 收藏</span>
                            <span class="guide-stat">56 评论</span>
                        </div>
                    </div>
                    <a href="#" class="guide-title">新手入门：第一年春季完美攻略</a>
                    <p class="guide-excerpt">从零开始，教你如何在春季获得最大收益，为后续发展打下坚实基础。包括作物选择、工具升级、社交活动等全方位指导...</p>
                    <div class="guide-tags">
                        <span class="guide-tag">新手攻略</span>
                        <span class="guide-tag">春季攻略</span>
                    </div>
                </div>
            </div>

            <!-- 攻略卡片 2 -->
            <div class="guide-card">
                <div class="guide-content">
                    <div class="guide-header">
                        <div class="guide-author">
                            <img class="author-avatar" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=500&auto=format&fit=crop&q=60" alt="作者头像">
                            <div class="author-info">
                                <p class="author-name">星露谷达人</p>
                                <div class="author-meta">
                                    <time datetime="2024-03-19">2024-03-19</time>
                                    <span>•</span>
                                    <span>矿洞探索</span>
                                </div>
                            </div>
                        </div>
                        <div class="guide-stats">
                            <span class="guide-stat">1.8k 浏览</span>
                            <span class="guide-stat">95 收藏</span>
                            <span class="guide-stat">42 评论</span>
                        </div>
                    </div>
                    <a href="#" class="guide-title">矿洞探索完全指南</a>
                    <p class="guide-excerpt">深入矿洞的必备技巧，包括装备选择、怪物应对、宝藏位置等详细攻略。让你轻松应对每一层矿洞的挑战...</p>
                    <div class="guide-tags">
                        <span class="guide-tag">矿洞技巧</span>
                        <span class="guide-tag">战斗攻略</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 分页 -->
        <div class="pagination">
            <ul class="pagination-list">
                <li class="pagination-item">
                    <a href="#" class="pagination-link">
                        <span>上一页</span>
                    </a>
                </li>
                <li class="pagination-item">
                    <a href="#" class="pagination-link">1</a>
                </li>
                <li class="pagination-item">
                    <a href="#" class="pagination-link active">2</a>
                </li>
                <li class="pagination-item">
                    <a href="#" class="pagination-link">3</a>
                </li>
                <li class="pagination-item">
                    <a href="#" class="pagination-link">
                        <span>下一页</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <nav class="footer-nav">
                <a href="#" class="footer-link">关于我们</a>
                <a href="#" class="footer-link">使用条款</a>
                <a href="#" class="footer-link">隐私政策</a>
                <a href="#" class="footer-link">联系我们</a>
            </nav>
            <p class="footer-copyright">&copy; 2024 星露谷攻略论坛. All rights reserved.</p>
        </div>
    </footer>
</body>
</html> 